home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 1012 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  839 b 

  1. From: bousch@topo.ph.kcl.ac.uk (Thierry Bousch)
  2. Subject: Re: user-written interrupt handlers
  3. Date: Mon, 14 Feb 1994 22:48:10 +0100 (MET)
  4. In-Reply-To: <199402141947.LAA17928@mail.netcom.com> from "Eric R. Smith" at Feb 14, 94 11:47:04 am
  5.  
  6. Hello Eric,
  7.  
  8. > I would think that any user-supplied interrupt handlers should be provided
  9. > as device drivers; they can then call into the kernel via the table that
  10. > MiNT provides, and don't have to worry about going through trap #1.
  11.  
  12. Well, you can't call -any- kernel function from inside an interrupt
  13. handler, can you? According to MiNT's docs, wakeselect() is the only one
  14. which can be called safely from within an interrupt. It would be handy
  15. if wake() could be called too (we could remove these silly napping loops
  16. where the device driver is waiting for input or output to be ready).
  17.  
  18. Thierry.
  19.  
  20.